ci: improve vitest test parallelism#5898
Conversation
|
Note Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported. |
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Deploying egg-v3 with
|
| Latest commit: |
f32a660
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://0d2f8dac.egg-v3.pages.dev |
| Branch Preview URL: | https://egg-16-ci-performance.egg-v3.pages.dev |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## next #5898 +/- ##
==========================================
+ Coverage 85.53% 85.96% +0.43%
==========================================
Files 662 9 -653
Lines 18888 57 -18831
Branches 3664 11 -3653
==========================================
- Hits 16155 49 -16106
+ Misses 2360 7 -2353
+ Partials 373 1 -372 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Deploying egg with
|
| Latest commit: |
f32a660
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://f93ec74c.egg-cci.pages.dev |
| Branch Preview URL: | https://egg-16-ci-performance.egg-cci.pages.dev |
1c51916 to
25e35b3
Compare
0bcd094 to
be6cd9e
Compare
be6cd9e to
f32a660
Compare
Summary
ut run cion every matrix entry, Codecov upload on non-Windows) so Codecov project coverage remains comparable tonext.Local verification
CI=true pnpm vitest run --bail 1 --retry 2 --testTimeout 20000 --hookTimeout 20000 --coverage --maxWorkers=4 --isolate --reporter=jsonpassed in a clean short-path copy: 1897/1897 suites, 3218 passed, 257 skipped, elapsed 368.36s.CI=true pnpm vitest run --bail 1 --retry 2 --testTimeout 20000 --hookTimeout 20000 --coverage --maxWorkers=8 --isolate --reporter=jsonpassed in a clean short-path copy: 1897/1897 suites, 3218 passed, 257 skipped, elapsed 234.28s.CI=true pnpm vitest run plugins/schedule --isolate --maxWorkers=8 --reporter=dot --silentpassed: 23 files passed, 1 skipped, 28 passed, 13 skipped, elapsed 34.72s.CI=true pnpm vitest run plugins/mock/test/cluster.test.ts packages/cluster/test/app_worker.test.ts --isolate --maxWorkers=8 --reporter=dot --silentpassed: 2 files passed, 21 passed, 16 skipped, elapsed 80.76s.CI=true pnpm vitest run packages/cluster/test/master/start-master.test.ts --isolate --reporter=dot --silentpassed: 1 file passed, 2 passed, 4 skipped, elapsed 1.28s.CI=true pnpm vitest run tegg/plugin/tegg/test --isolate --maxWorkers=8 --reporter=dotpassed: 18 files passed, 2 skipped, 51 passed, 2 skipped, elapsed 37.92s.VITEST_MAX_WORKERS=4 CI=true pnpm vitest run ...failed macOS suites... --isolate --reporter=dot --silentpassed outside the sandbox: 8 files passed, 83 passed, 22 skipped, elapsed 22.15s.VITEST_MAX_WORKERS=3 CI=true pnpm vitest run plugins/onerror/test/onerror.test.ts plugins/redis/test/redis.test.ts tegg/plugin/orm/test --isolate --reporter=dot --silentpassed: 4 files passed, 60 passed, 5 skipped, elapsed 13.34s.CI=true pnpm vitest run --bail 1 --retry 2 --testTimeout 20000 --hookTimeout 20000 --coverage --isolate --maxWorkers=8 --reporter=dot --silentpassed in this workspace: 508 files passed, 19 skipped, 3218 passed, 257 skipped, elapsed 547.99s.pnpm oxfmt --check ...passed on changed files.pnpm oxlint --type-aware --type-check --quietpassed for the full repo: 0 errors, 276 existing warnings.Notes
The latest full-suite run was in the actual Multica workspace. It is slower than the earlier short-path JSON run because it includes coverage and very noisy process logs, but it confirms the complete suite passes with
--isolate --maxWorkers=8.